<script setup lang="ts">
import MpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
import { useGeneralConfigStore } from '@/store/generalConfig'

const generalConfigStore = useGeneralConfigStore()
const data = computed(() => generalConfigStore.generalConfig?.base.find(el => el.title === '关于我们'))
</script>

<template>
  <view class="min-h-screen bg-white p-24rpx">
    <MpHtml :content="data?.content" />
  </view>
</template>

<route lang="yaml">
name: 'about'
style:
  navigationBarTitleText: '关于我们'
  navigationBarBackgroundColor: white
</route>
